<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<html>
<body>
	<f:view>
		<h:form>
			<center>
				<h2>Busca</h2>
			</center>
			<br>
			Digite o nome:
			<h:inputText id="nome" value="#{agenda.nome}" />
			<h:commandButton value="OK" action="#{agenda.buscar}" />
		</h:form>
		<br>
		<h:outputLink value="index.jsf">
			<f:verbatim>voltar</f:verbatim>
		</h:outputLink>
	</f:view>
</body>
</html>